﻿namespace Dynamic
{
    public class ReportColumnStyle
    {
        public string ColumnName { get; set; }

        public string DataPropertyName { get; set; }

        public float ColumnWidth { get; set; }

        public TextAlign TextAlign { get; set; }

        /// <summary>
        /// 列头是否可见
        /// </summary>
        public bool HeaderVisible { get; set; }

        /// <summary>
        /// 列是否可见
        /// </summary>
        private bool Visible { get; set; }

        public ReportColumnStyle()
        {
            Visible = true;
            HeaderVisible = true;
            TextAlign = Dynamic.TextAlign.Left;
        }
    }

    public enum TextAlign
    {
        Left,
        Center,
        Right
    }

    public enum VerticalAlign
    {
        Middle,
        Top,
        Bottom
    }

    public enum ReportType
    {
        Tables,
        Chart,
        Finally
    }
}